package converters;

import java.util.Locale;

import org.apache.commons.beanutils.locale.converters.DateLocaleConverter;

public class DateLocaleConverterCustom  extends DateLocaleConverter{
	
	public DateLocaleConverterCustom(Locale locale,String pattern){
		super(locale,pattern);
	}
	public Object convert(Class type, Object value) {
		if(value == null || value.toString().length() < 1)
			return null;

		return super.convert(type, value);
	}
}
